<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AJAX Request Example</title>
    <!-- 引入 jQuery 库 -->
    <!-- <script src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script> -->
    <script src="./jquery.js"></script>
</head>

<body>
    <div id="app">ddd
        <!-- 这里可以放一些HTML元素用于展示结果 -->
    </div>

    <script>
        $(document).ready(function () {
            // 发起 AJAX 请求
            var settings = {
                "url": "https://dev.tswel.cn/index.php?s=/store/shop/all",
                "method": "GET",
                "timeout": 0,
                "headers": {
                    "access-token": "9c2fe6664b80def2b3682eaaf7346b8e",
                },
            };

            $.ajax(settings).done(function (response) {
                console.log(response);
            });
        });
    </script>
</body>

</html>